<header class="am-topbar am-margin-bottom-0 tm-background-color-white">
    <h1 class="am-topbar-brand">
        <a href="/">Time Log</a>
    </h1>

    <div class="am-collapse am-topbar-collapse" id="doc-topbar-collapse">
        <div class="am-topbar-right">
            <ul class="am-nav am-nav-pills am-topbar-nav">
                <?php if ($login === false): ?>
                    <li><a href="<?= $label->url('Master-Login-signup'); ?>">注册</a></li>
                    <li><a href="<?= $label->url('Master-Login-login'); ?>">登录</a></li>
                <?php else: ?>
                    <li><a href="<?= $label->url('Master-User-action'); ?>">个人设置</a></li>
                    <li><a class="ajax-click" href="<?= $label->url('Master-Login-logout'); ?>">注销</a></li>
                <?php endif; ?>
            </ul>

        </div>
    </div>
</header>